SLES 11 SP4
Sponsored Link

Install Clam AntiVirus
2015/12/02
 
Install Clam AntiVirus to protect your System from Virus.
[1] Install Clamav.
dlp:~ #
zypper -n install clamav
# update pattern files

dlp:~ #
freshclam

ClamAV update process started at Thu Nov 19 16:42:44 2015
main.cvd is up to date (version: 55, sigs: 2424225, f-level: 60, builder: neo)
daily.cvd is up to date (version: 21070, sigs: 1692713, f-level: 63, builder: neo)
bytecode.cvd is up to date (version: 270, sigs: 46, f-level: 63, builder: shurley)
[2] Try to scan.
root@dlp:~#
clamscan --infected --remove --recursive /home

----------- SCAN SUMMARY -----------
Known viruses: 4135783
Engine version: 0.98.7
Scanned directories: 5
Scanned files: 8
Infected files: 0
Data scanned: 0.01 MB
Data read: 0.00 MB (ratio 2.00:1)
Time: 8.399 sec (0 m 8 s)

# download trial virus

root@dlp:~#
wget http://www.eicar.org/download/eicar.com
root@dlp:~#
clamscan --infected --remove --recursive ./

./eicar.com: Eicar-Test-Signature FOUND
./eicar.com: Removed.    
# just removed
----------- SCAN SUMMARY -----------
Known viruses: 4135783
Engine version: 0.98.7
Scanned directories: 7
Scanned files: 14
Infected files: 1
Data scanned: 0.29 MB
Data read: 0.15 MB (ratio 1.90:1)
Time: 8.444 sec (0 m 8 s)
 
Tweet